<template>
  <div class="songs">
    <div class="song" v-for="song in songData">
      <div class="left">
        <div>{{ song.name }}</div>
        <div>{{ song.ar.map((i) => i.name).join('/') }}</div>
      </div>

      <div class="right">
        <span>
          <SvgIcon icon="icon-bofanganniu-copy"></SvgIcon>
          <SvgIcon icon="icon-jiajianzujianjiahao-copy"></SvgIcon>
        </span>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
export default {
  name: 'songAside',
}
</script>

<script lang="ts" setup>
import { songOfList } from '@/api/model/song'
import { ref, reactive } from 'vue'
import SvgIcon from '@/components/SvgIcon/index.vue'

const props = defineProps<{ songData: songOfList[] }>()
</script>

<style scoped></style>
